<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>骡窝窝用户管理系统</title>
    <link rel="stylesheet" href="/css/core.css" type="text/css"/>
    <link rel="stylesheet" href="/js/plugins/bootstrap-3.3.2-dist/css/bootstrap.css">
    <link rel="stylesheet" href="/css/core.css" type="text/css"/>
    <script src="/js/plugins/jquery/jquery-2.1.3.min.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery.form.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery.bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery.twbsPagination.min.js"></script>
    <style type="text/css">
        body {
            background-color: #FFFFFF;
        }

        .cm-container {
            margin-top: 160px;
        }

        .login {
            width: 360px;
            height: 300px;
            margin: 0px auto;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            $('#btn_submit').click(function () {
                window.location.href = "/user/list.do";
            });
            /*// 每次加载登录界面的时候，执行登出动作，解决登录之后再回退，无法再次登录的问题
            // $.get("/logout.do");

            $('#loginForm').ajaxForm(function (data) {
                if (data.success) {
                    window.location.href = "/department/list.do";
                } else {
                    $.messager.alert("提示", data.msg);
                }
            });
            $('#btn_submit').click(function () {
               $('#loginForm').submit();
            });*/
        });
    </script>

</head>
<body>
<div class="container cm-container">
    <h3 class="text-center"><label style="color: #337ab7;">骡窝窝用户管理系统(系统管理平台)</label></h3>
    <hr/>
    <div class="login">
        <form id="loginForm" action="/login.html" method="post">
            <div class="form-group form-group-lg">
                <div class="input-group">
                    <div class="input-group-addon">用户名</div>
                    <input class="form-control" name="username"/>
                </div>
            </div>
            <div class="form-group form-group-lg">
                <div class="input-group">
                    <div class="input-group-addon">密&emsp;码</div>
                    <input class="form-control" name="password" type="password"/>
                </div>
            </div>
            <div class="form-group">
                <button type="button" class="btn btn-lg btn-primary btn-block" id="btn_submit">登录</button>
            </div>
        </form>
    </div>
</div>
</body>
</html>